CookieYes\Lite\Admin\Modules\Banners\Api\Api S

Total Complexity 33
Dependencies 6
Dependents 1
Total lines 459
Lines of code 326
Logical lines of code 94
Comment lines 106
Methods 16
Properties 3

Methods 16

Method Rating Maintainability Complexity Lines of code
register_routes()
S
37 1 104
bulk()
S
51 6 26
get_item_schema()
S
45 1 52
update_item()
S
57 3 17
get_preview()
S
60 3 13
get_item()
S
64 3 8
create_item()
S
60 2 13
delete_item()
S
61 2 12
get_collection_params()
S
55 1 23
get_items()
S
63 2 10
get_presets()
S
64 2 9
prepare_item_for_response()
S
67 2 7
prepare_item_for_database()
S
63 2 10
get_formatted_item_data()
S
63 1 11
__construct()
S
75 1 4
get_configs()
S
69 1 7